/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmConsultarCronogramaEmpleado.java
 *
 * Created on 11-may-2010, 1:39:35
 */

package vista.rrhh;

/**
 *
 * @author Administrador
 */
public class pantallaConsultarCronogramaEmpleado extends javax.swing.JInternalFrame {

    /** Creates new form frmConsultarCronogramaEmpleado */
    public pantallaConsultarCronogramaEmpleado() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lblNombreEmpleado = new javax.swing.JLabel();
        cmbNombreEmpleado = new javax.swing.JComboBox();
        pnlCronograma = new javax.swing.JPanel();
        lblCronograma = new javax.swing.JLabel();
        pnlDetalleActividad = new javax.swing.JPanel();
        lblNombreTarea = new javax.swing.JLabel();
        lblDescripcion = new javax.swing.JLabel();
        lblPorcentajeAvance = new javax.swing.JLabel();
        lblHerramientasAsociadas = new javax.swing.JLabel();
        lblFechaFinEst = new javax.swing.JLabel();
        btnCerrar = new javax.swing.JButton();

        setClosable(true);
        setIconifiable(true);
        setTitle("Consultar el Cronograma de un empleado");

        lblNombreEmpleado.setText("Empleado: ");

        cmbNombreEmpleado.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Stark Tony" }));

        pnlCronograma.setBorder(javax.swing.BorderFactory.createTitledBorder("Cronograma"));

        lblCronograma.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/imagenes/Gantt-BORRAR.png"))); // NOI18N

        javax.swing.GroupLayout pnlCronogramaLayout = new javax.swing.GroupLayout(pnlCronograma);
        pnlCronograma.setLayout(pnlCronogramaLayout);
        pnlCronogramaLayout.setHorizontalGroup(
            pnlCronogramaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(lblCronograma)
        );
        pnlCronogramaLayout.setVerticalGroup(
            pnlCronogramaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(lblCronograma)
        );

        pnlDetalleActividad.setBorder(javax.swing.BorderFactory.createTitledBorder("Detalle de la Actividad"));

        lblNombreTarea.setText("Nombre: Tarea 1");

        lblDescripcion.setText("Descripcion: Se detalla el alcance de la Tarea 1 ...");

        lblPorcentajeAvance.setText("Porcentaje de Avance: 10%");

        lblHerramientasAsociadas.setText("Herramientas Asociadas: Moladora Portatil, Taladro Magnetico, etc.");

        lblFechaFinEst.setText("Fecha de Fin Estimada: 19/05/2010");

        javax.swing.GroupLayout pnlDetalleActividadLayout = new javax.swing.GroupLayout(pnlDetalleActividad);
        pnlDetalleActividad.setLayout(pnlDetalleActividadLayout);
        pnlDetalleActividadLayout.setHorizontalGroup(
            pnlDetalleActividadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlDetalleActividadLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlDetalleActividadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblHerramientasAsociadas, javax.swing.GroupLayout.DEFAULT_SIZE, 622, Short.MAX_VALUE)
                    .addGroup(pnlDetalleActividadLayout.createSequentialGroup()
                        .addGroup(pnlDetalleActividadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblDescripcion)
                            .addComponent(lblNombreTarea, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(lblPorcentajeAvance, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 50, Short.MAX_VALUE)
                        .addComponent(lblFechaFinEst)))
                .addContainerGap())
        );
        pnlDetalleActividadLayout.setVerticalGroup(
            pnlDetalleActividadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlDetalleActividadLayout.createSequentialGroup()
                .addGroup(pnlDetalleActividadLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblNombreTarea)
                    .addComponent(lblPorcentajeAvance)
                    .addComponent(lblFechaFinEst))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(lblDescripcion)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(lblHerramientasAsociadas))
        );

        btnCerrar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/iconos/var/16x16/delete.png"))); // NOI18N
        btnCerrar.setText("Cerrar");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(lblNombreEmpleado)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cmbNombreEmpleado, javax.swing.GroupLayout.PREFERRED_SIZE, 132, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(465, 465, 465))
                    .addComponent(pnlCronograma, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 654, Short.MAX_VALUE)
                    .addComponent(pnlDetalleActividad, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnCerrar, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblNombreEmpleado)
                    .addComponent(cmbNombreEmpleado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(pnlCronograma, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(pnlDetalleActividad, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnCerrar)
                .addContainerGap(15, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new pantallaConsultarCronogramaEmpleado().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCerrar;
    private javax.swing.JComboBox cmbNombreEmpleado;
    private javax.swing.JLabel lblCronograma;
    private javax.swing.JLabel lblDescripcion;
    private javax.swing.JLabel lblFechaFinEst;
    private javax.swing.JLabel lblHerramientasAsociadas;
    private javax.swing.JLabel lblNombreEmpleado;
    private javax.swing.JLabel lblNombreTarea;
    private javax.swing.JLabel lblPorcentajeAvance;
    private javax.swing.JPanel pnlCronograma;
    private javax.swing.JPanel pnlDetalleActividad;
    // End of variables declaration//GEN-END:variables

}
